import Vue from 'vue'

import App from './views'
//全局注入vant
import Vant from 'vant'
import 'vant/lib/index.css'
Vue.use(Vant)

import router from './router'
import store from './store'
//引入less

// 注册全局插件，插件中有过滤器、指令、全局组件
import Components from './components'
Vue.use(Components)

//vant3图片懒加载
import { Lazyload } from 'vant';
Vue.use(Lazyload);

import './style/index.less'
new Vue({
    router,  //全局注入
    store,
    render: c => c(App)
}).$mount('#root')